package github.javaguide;

import github.javaguide.annotation.RpcReference;
import org.springframework.stereotype.Component;

@Component
public class CacController {

    @RpcReference(version = "version1", group = "test1")
    private Cac cac;

    public int testAdd(int x,int y){
        return cac.add(x,y);
    }

    public int testMul(int x,int y){
        return cac.mul(x,y);
    }
}
